<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ page language="java" import="java.util.*" %>
<%@ include file="/common/include/pageExpires.jsp"%>

ISO639国际标准国家地区代码
<table border=1>
	<tr>
		<td>locale.toString()</td>
		<td>DisplayLanguage(locale)</td>
		<td>DisplayName(locale)</td>
		<td>DisplayCountry(locale)</td>
		<td>getDisplayLanguage(localeX)</td>
	</tr>
<%
		  Locale locale = sessionLocale; //Locale.getDefault();
		  Locale[]locales =  Locale.getAvailableLocales();
		  for(int i=0;i<locales.length;i++){
		  	out.println("<tr>");
		  	out.println("<td>"+locales[i].toString()+"</td>");
		  	out.println("<td>"+locales[i].getDisplayLanguage(locale)+"</td>");
		  	out.println("<td>"+locales[i].getDisplayName(locale)+"</td>");
		  	out.println("<td>"+locales[i].getDisplayCountry(locale)+"</td>");
		  	out.println("<td>"+locales[i].getDisplayLanguage(locales[i])+"</td>");
		  	out.println("</tr>");
		  }
%>
<%
		  for(int i=0;i<locales.length;i++){
		  	out.println("<tr>");
		  	out.println("<td>"+locales[i].toString()+"</td>");
		  	out.println("<td>"+locales[i].getDisplayCountry(locale)+"</td>");
		  	out.println("</tr>");
		  }
%>			
</table>